package com.foreknow.homework.book;

public class BookBean {
    private int id;
    private String book;
    private double price;
    private int num;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBook() {
        return book;
    }

    public void setBook(String book) {
        this.book = book;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public BookBean() {

    }

    public BookBean(int id, String book, double price, int num) {
        this.id = id;
        this.book = book;
        this.price = price;
        this.num = num;
    }
}
